<script setup lang="ts">
import type { Node } from '@vue-flow/core';
import { onMounted } from 'vue';
import { HJInterNodeData, HJNodeData } from '@/pages/HJ-Flow/to-npm/src/types/comTypes';
import Basic from './com/basic.vue';

// 即使外部定义的类型数据再多，传进来的也是Node类型。
const props = defineProps<HJInterNodeData>();

onMounted(() => {
  console.log('mounted', props);
});
</script>

<template>
  <Basic v-bind="props"> </Basic>
</template>

<style scoped lang="less"></style>
